import Layout from '@/page/index/'

export default [{
  path: '/info',
  component: Layout,
  redirect: '/info/index',
  children: [{
    path: 'index',
    name: '个人信息',
    component: () =>
      import(/* webpackChunkName: "page" */ '@/views/admin/user/info')
  }]
}, {
  path: '/activti',
  component: Layout,
  redirect: '/activti/detail',
  children: [{
    path: 'detail/:id',
    component: () =>
      import(/* webpackChunkName: "views" */ '@/views/activiti/detail')
  }]
},

  //校内时间组
  {
  path: '/pass',
  component: Layout,
  redirect: '/pass/inTime-edit',
  children: [{
    path: 'inTime-edit/:id',
    component: () =>
        import(/* webpackChunkName: "views" */ '@/views/pass/inTime-edit')
  }]
},{
  path: '/pass',
  component: Layout,
  redirect: '/pass/inTime-see',
  children: [{
    path: 'inTime-see/:id',
    component: () =>
        import(/* webpackChunkName: "views" */ '@/views/pass/inTime-see')
  }]
},{
  path: '/pass',
  component: Layout,
  redirect: '/pass/inTime-add',
  children: [{
    path: 'inTime-add',
    component: () =>
        import(/* webpackChunkName: "views" */ '@/views/pass/inTime-add')
  }]
},{
    path: '/pass',
    component: Layout,
    redirect: '/pass/inDetails',
    children: [{
      path: 'inDetails',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/inDetails')
    }]
  },{
    path: '/pass',
    component: Layout,
    redirect: '/pass/inSeeDetails',
    children: [{
      path: 'inSeeDetails',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/inSeeDetails')
    }]
  },






  //校外时间组
  {
    path: '/pass',
    component: Layout,
    redirect: '/pass/outTime-edit',
    children: [{
      path: 'outTime-edit/:id',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/outTime-edit')
    }]
  },{
    path: '/pass',
    component: Layout,
    redirect: '/pass/outTime-see',
    children: [{
      path: 'outTime-see/:id',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/outTime-see')
    }]
  },{
    path: '/pass',
    component: Layout,
    redirect: '/pass/outTime-add',
    children: [{
      path: 'outTime-add',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/outTime-add')
    }]
  }, {
    path: '/pass',
    component: Layout,
    redirect: '/pass/outDetails',
    children: [{
      path: 'outDetails',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/outDetails')
    }]
  },{
    path: '/pass',
    component: Layout,
    redirect: '/pass/outSeeDetails',
    children: [{
      path: 'outSeeDetails',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/outSeeDetails')
    }]
  },


  //通行申请
  {
    path: '/pass',
    component: Layout,
    redirect: '/pass/seeApproval',
    children: [{
      path: 'seeApproval',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/pass/seeApproval')
    }]
  },


    //门禁组管理
  {
    path: '/door',
    component: Layout,
    redirect: '/door/equipGroup-edit',
    children: [{
      path: 'equipGroup-edit',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/door/equipGroup-edit')
    }]
  },
  {
    path: '/door',
    component: Layout,
    redirect: '/door/equipGroup-view',
    children: [{
      path: 'equipGroup-view',
      component: () =>
          import(/* webpackChunkName: "views" */ '@/views/door/equipGroup-view')
    }]
  }
]


